package six;

import java.util.Scanner;

public class Quadr {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int a=input.nextInt();
        int b=input.nextInt();
        int c=input.nextInt();
        Quadr q=new Quadr(a,b,c);
        if(q.getDiscriminant()<0){
            System.out.println("The equation has no root");
        }
        else{
            System.out.println(q.getRoot1()+" "+q.getRoot2());
        }




    }
    private int a,b,c;
    Quadr(int new_a,int new_b,int new_c){
        this.a=new_a;
        this.b=new_b;
        this.c=new_c;
    }
    int getA(){
        return a;
    }
    int getB(){
        return b;
    }
    int getC(){
        return c;
    }
    int getDiscriminant(){
        return b*b-4*a*c;
    }
    double getRoot1(){
        if (getDiscriminant()>=0)
        {
            double res=(-b+Math.sqrt(getDiscriminant()))/(2*a);
            return res;

        }
        else{
            return 0;
        }

    }
    double getRoot2(){
        if (getDiscriminant()>=0)
        {
            double res=(-b-Math.sqrt(getDiscriminant()))/(2*a);
            return res;

        }
        else{
            return 0;
        }

    }


}
